package com.cn.wanxi.model;


public class NewsModel extends BaseModel{
    private String title;
    private String content;
    private NewsTypeModel newsType;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public NewsTypeModel getNewsType() {
        return newsType;
    }

    public void setNewsType(NewsTypeModel newsType) {
        this.newsType = newsType;
    }

    @Override
    public String toString() {
        return "NewsModel{" +
                "id='" + super.getId() + '\'' +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", createDate='" + super.getCreateTime() + '\'' +
                ", updateDate='" + super.getUpdateTime() + '\'' +
                ", newsType='" + newsType + '\'' +
                '}';
    }
}
